package com.gvitz.transaction.activities;

import android.graphics.Color;
import android.os.Bundle;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.style.ForegroundColorSpan;

import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.gvitz.transaction.utils.TypefaceSpan;


public class GVActivity extends SherlockFragmentActivity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		
		    super.onCreate(savedInstanceState);	
		    SpannableString s = new SpannableString(" gvitz ");
		    s.setSpan(new TypefaceSpan(this, "font.ttf"), 0, s.length(),Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
		    s.setSpan(new ForegroundColorSpan(Color.WHITE), 0, s.length(), 0);
		    getSupportActionBar().setTitle(s);
	}
	
}
